Modified THREE.InstancedMesh dynamically instancecount 您所在的位置:网站首页 threejs instancedmesh 多材质 Modified THREE.InstancedMesh dynamically instancecount

Modified THREE.InstancedMesh dynamically instancecount

2024-07-12 09:21| 来源: 网络整理| 查看: 265

Hello everyone! I need to be in THREE.InstancedMesh When I have created tens of thousands of instances, I need to dynamically crop and display the number of visible instances according to the camera cone. At present, the camera cone judgment has worked well, but there is a problem in dynamically modifying the number of instances Previously, using InstancedBufferGeometry to set the instanceCount property can dynamically control the number of current renderings. On InstancedMesh, I have tried to modify the updateRange of BufferAttribute. It seems that it doesn’t work properly. Is there any other API or how I can improve it? Please help me! Thank you very much!!!



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有